DEFINE_BASECLASS("player_default")

local PLAYER = {}
PLAYER.DisplayName = "BasePlayer"
PLAYER.StartArmor = nil
PLAYER.CanUseFlashLight = false
PLAYER.TeamMateNoCollide = false
PLAYER.MaxHealth = 100
PLAYER.StartHealth = 100
PLAYER.MaxMana = 100
PLAYER.StartMana = 100

--[[
--refreshes to the above values
function PLAYER:SetupDataTables()
	BaseClass.SetupDataTables(self)
end
--]]

--Called on spawn to give the player their default loadout
function PLAYER:Loadout()
	--Give them their inventory, weps, gear, etc
	--self.Player:SwitchToDefaultWeapon()
	self.Player:MaxHealth(self.MaxHealth)	--not needed, but let's do it anyway
	self.Player:Health(self.StartHealth)	--not needed, but let's do it anyway
	self.Player:MaxMana(self.MaxMana)
	self.Player:Mana(self.StartMana)
end

function PLAYER:Spawn()
	BaseClass.Spawn(self)
	self.Player:Class(self.DisplayName)
end

player_manager.RegisterClass("BasePlayer", PLAYER, "player_default")